package com.cdd.manage.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cdd.manage.vo.ClientVo;
import com.common.entity.SendmsgBusiness;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * T
 *
 * @author lenovo
 * @version 1.0
 * @since 2022-09-06  17:17:22
 */
public interface SendmsgBusinessMapper extends BaseMapper<SendmsgBusiness> {
    IPage<Map> selectAll(Page page, @Param("ew") QueryWrapper<SendmsgBusiness> wrapper);

    IPage<Map> manageAllById(Page page, @Param("ew") QueryWrapper<SendmsgBusiness> wrapper);

    Integer insertMsg(ClientVo clientVo);

    IPage<Map> select(Page<SendmsgBusiness> page,@Param("ew") QueryWrapper<SendmsgBusiness> wrapper,String userId);
}
